<?php
/**
 * Created by PhpStorm.
 * User: PGF
 * Date: 2016/8/14
 * Time: 17:12
 */

namespace Admin\Model;


use Think\Model;

class InformationModel extends Model
{
	/**
	 * 获取列表
	 *
	 * @param $num
	 * @param $page
	 * @return array
	 */
	public function getList($num, $page){
		return $this->limit((($page-1)*$num), $num)->select();
	}

	/**
	 * 获取数量
	 */
	public function getCount(){
		return $this->Count();
	}

}